﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MainFrm.Master" AutoEventWireup="true" CodeBehind="StartStorage.aspx.cs" Inherits="Ewts.Storage.StartStorage" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="EwtsConext" runat="server">
    <div>
    <h2 style="text-align:center">盘库数据录入</h2>
    <table cellpadding="1" cellspacing="1" style="width:100%;">
        <tr>
            <td style="height:30px; width:100px; text-align:right;">
                结存时间：
            </td>
            <td>
                <input id="txtInputDate" class="txtInputDate" value="2014-01-02" disabled="disabled" runat="server" type="text"/>
            </td>
        </tr>
        <tr>
            <td style="height:30px; width:100px; text-align:right;">
                库存编号：
            </td>
            <td>
                <input id="txtLoadNo" runat="server" class="txtLoadNo" />
            </td>
        </tr>
        <tr>
            <td style=" text-align:right; height:25px; ">财务结算月：</td>
            <td>
                <asp:DropDownList ID="dropYear" CssClass="dropYear" runat="server">
               
                </asp:DropDownList>
                <asp:DropDownList ID="dropMonth" CssClass="dropMonth" runat="server">
                    <asp:ListItem>01</asp:ListItem>
                    <asp:ListItem>02</asp:ListItem>
                    <asp:ListItem>03</asp:ListItem>
                    <asp:ListItem>04</asp:ListItem>
                    <asp:ListItem>05</asp:ListItem>
                    <asp:ListItem>06</asp:ListItem>
                    <asp:ListItem>07</asp:ListItem>
                    <asp:ListItem>08</asp:ListItem>
                    <asp:ListItem>09</asp:ListItem>
                    <asp:ListItem>10</asp:ListItem>
                    <asp:ListItem>11</asp:ListItem>
                    <asp:ListItem>12</asp:ListItem>
               
                </asp:DropDownList>
            </td>
        </tr>    
        <tr>
            <td style="height:30px; width:100px; text-align:right;">
                客户名：
            </td>
            <td>
                伟翔仓库
            </td>
        </tr> 
        <tr>
            <td style="height:30px; width:100px; text-align:right;">
                归属地：
            </td>
            <td>
                <label><input name="rad_belong" type="radio" checked="checked" value="上海" />上海－01 </label> 
                <label><input name="rad_belong" type="radio" value="北京" />北京－02 </label> 
                <label><input name="rad_belong" type="radio" value="苏州" />苏州－03 </label> 
                <label><input name="rad_belong" type="radio" value="广州" />广州－04 </label> 
             </td>
        </tr>
        <tr>
            <td style="height:30px; width:100px; text-align:right;">
                处理地：<input id="hidGraphic" class="hidGraphic" value="" type="hidden" runat="server" />
            </td>
            <td>
                <label><input name="rad_graphic" type="radio" checked="checked" value="上海" />上海－01 </label> 
                <label><input name="rad_graphic" type="radio" value="北京" />北京－02 </label> 
                <label><input name="rad_graphic" type="radio" value="苏州" />苏州－03 </label> 
                <label><input name="rad_graphic" type="radio" value="广州" />广州－04 </label> 
            </td>
        </tr>
       <tr>
            <td colspan="2" style="height:30px; text-align:center;">
                &nbsp;</td>
        </tr>
    </table>

    <table id="tab_Stoarge" cellpadding="1" cellspacing="1" style="width:100%;" >
        <thead>
            <tr>
                <th style="height:30px; text-align:center;">序号</th>
                <th>归属地</th>
                <th>处理地</th>
                <th>物品编码</th>
                <th>物品名称</th>
                <th>毛重</th>
                <th>皮1</th>
                <th>皮2</th>
                <th>净重</th>
                <th>数量</th>
                <th>库位</th>
                <th>条码</th>
                <th>废物编号</th>
                <th>废物名称</th>
                <th>联单号</th>
                <th>箱号</th>
                <th>箱数</th>
                <th>备注</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
        <tr>
            <td style="height:30px; text-align:center;">
                <label id="lblNo"></label>
            </td>
            <td style="text-align:center;">
               <label id="lblcity_belong">上海</label>
            </td>
            <td style="text-align:center;">
               <label id="lblcity_graphic">上海</label>  
            </td>
            <td style="text-align:center;">
               <input type="text" name="textfield" tabindex="1" id="txtgc" style="width:50px;"/>
                <input type="hidden" value="0" id="hidgdid" />
            </td>
            <td style="text-align:center;">
                <input type="text" name="textfield" id="txtgn" style="width:100px;" />
            </td>
            <td style="width:45px; text-align:center;">
                <input type="text" name="textfield" tabindex="2" id="txtgwt" style="width:40px" />
            </td>
            <td style="text-align:center;">
                <input type="text" name="textfield" tabindex="3" id="txttare1" value="0" style="width:40px" />
            </td>
            <td style="text-align:center;">
               <input type="text" name="textfield" tabindex="4" id="txttare2" value="0" style="width:40px" />
            </td>
            <td style="text-align:center;">
                 <label id="txtnwt"></label> 
            </td>
            <td style="text-align:center;">
                <input type="text" tabindex="5" name="textfield" id="txtqty" style="width:30px" />
            </td>
            <td style="text-align:center;">
                <input type="text" tabindex="6" name="textfield" id="txtsid" style="width:40px" />
            </td>
            <td style="text-align:center;">
                <label id="lblbarcode" class="lblbarcode"></label>
                <input id="hidbarid" class="hidbarid" type="hidden" value="0" />
            </td>
            <td>
                <input type="text" style="width:120px;" id="txthw" />
                <input id="hiduHwid" value="0" type="hidden" style="width:130px;" />
                
            </td>
            <td>
                <label id="lblHwType"></label> 
            </td>
            <td>
                <input type="text" style="width:80px;" id="txtrdh" />
            </td>
            <td>
                <input type="text" style="width:50px;" id="txtboxno" />
            </td>
            <td>
                <input type="text" style="width:30px;" id="txtboxcount" />
            </td>
            <td>
                <input type="text" style="width:120px;" id="txtremark" />
            </td>
            <td style="text-align:center;">
                <input id="btnSaveBarcode" value="结存输入" type="button" />
            </td>
           
        </tr>
       <asp:Repeater ID="reptStartStorage" runat="server">
        <ItemTemplate>
        <tr id='ttt'>
        <td><%# Container.ItemIndex + 1 %></td>
            <td><%# Eval("barbelong")%></td>
            <td><%# Eval("bargraphic")%></td>
            <td><%# Eval("goodscode")%></td>
            <td id='<%# Eval("goodsid") %>'><%# Eval("goodsname")%></td>
            <td><%# Eval("gwt")%></td>
            <td><%# Eval("tare1") %></td>
            <td><%# Eval("tare2") %></td>
            <td><%# Eval("nwt") %></td>
            <td><%# Eval("qty") %></td>
            <td id='<%# Eval("storageid") %>'><%# Eval("stroageNo")%></td>
            <td><%# Eval("barcodevalue")%></td>
            <td><%# Eval("rubbishcode")%></td>
            <td><%# Eval("rubbishtype")%></td>
            <td><%# Eval("rdh")%></td>
            <td><%# Eval("packageno")%></td>
            <td><%# Eval("boxcount")%></td>
            <td><%# Eval("remark")%></td>
            <td><img src='/images/jian.png' alt='<%# Eval("id") %> ' width='16' onclick='javascript:delClick(this)'  height='17''/>
                <img src='/images/icons/button_update.gif' alt='<%# Eval("id") %>' onclick='javascript:editData(this)' height='17' class='update'/>
                &nbsp;&nbsp;
                &nbsp;&nbsp;<a href='/Storage/BarcodeImg.aspx?barCodeID=<%# Eval("id") %>' target="_blank">条码重打</a>
            </td>    
      </tr>
      </ItemTemplate>
       </asp:Repeater>
       </tbody>
        </table>
        <div class="tab1">
	
    <!--一个表单-->
        <input type="hidden" id="hidLoadID" value="0" class="hiddenloadid" runat="server" />
        <input type="hidden" id="hidCJOID" value="0" class="hiddencjoid" runat="server" />
        <input type="hidden" id="hidInStoID" value="0" class="hiddenInSid" runat="server" />
        <input type="hidden" id="hidoperman" value="0" class="hidoperman"  runat="server" />
        <input type="hidden" id="HidPostion" value="0" class="HidPostion"/>
        
    <div >
    		<asp:Button ID="btnSaveSubmit" runat="server" Text="提交" 
                onclick="btnSaveSubmit_Click" />&nbsp;&nbsp;&nbsp;
    		<asp:Button ID="btnCanel" runat="server" Text="取消"/>
    </div>
    <div class="align"></div>
</div>
</div>
<script type="text/javascript" src="/js/StartStorage.js"></script>
</asp:Content>
